<ion-header>
    <ion-toolbar>
        <ion-searchbar mode="ios" #searchbar placeholder="搜索客户" routerLink="/customer/customer-query"></ion-searchbar>
    </ion-toolbar>
</ion-header>
<ion-content>
    <div class="menu-container">
        <div class="menu-items row">
            <div class="menu-item col-span-4" *ngFor="let item of menuList" [routerLink]="item.url">
                <div class="icon row middle-psan center-span">
                    <img [src]="item.icon">
                </div>
                <div class="text">{{ item.label }}</div>
            </div>
        </div>
    </div>
    <div class="row contenttitle ion-padding-bottom">
        <div class="col-span-12 row">
            <span class="leftlogo ion-margin-right"></span>
            <span class="titlecss">我的客户</span>
            <!-- <div style="margin-top: 3px;margin-left: 15px;">
                <ion-badge color="primary" slot="end">{{customerList.length}}</ion-badge>
            </div> -->
        </div>
    </div>

    <div *ngFor="let item of customerList">
        <app-customer-item [data]="item"></app-customer-item>
    </div>
</ion-content>
